package com.mygdx.game.Stage.Fight.Card;

import com.mygdx.game.Stage.Fight.*;

import java.util.ArrayList;



public class BloodAttackCardPlus extends Card {

    public BloodAttackCardPlus() {
        super("com/mygdx/game/Stage/Fight/BloodAttackPlus.png");
    }

    @Override
    public boolean effect(Energy energy, Fighter fighterL, ArrayList<Fighter> enemies){
        if (energy.energy-this.cost<0)return false;
        energy.energy-=cost;

        fighterL.hp -= 2;
        enemies.get(0).hp -= 20;

        return true;
    }
}
